<div class="modal-header">
    <h4 class="modal-title">信息</h4>
</div>
<div class="modal-body">
    <div class="container-fluid form-horizontal ">

<div class="col-xs-12 " >
	<div class="panel panel-default form-horizontal">
        
		<div class="panel-heading">
			信息填写
		</div>
		<div class="panel-body">
            <div class="form-group">
                <label class="col-xs-2 control-label">文件上传</label>
            </div>
            <!--<div class="col-md-6">
                <img ng-src="{{info.img}}" width="50%" height="100">
            </div>-->
            
            <button class="btn m-b-xs w-sm btn-success" ng-click="image()">
                <i class="fa fa-file-image-o"></i> 添加图片
            </button>

            <br>
            <div class="col-sm-8 col-offset-sm-2" ng-repeat="info in imaarr track by $index">
                <!--<a href={{info}} target="_Blank">{{info}}</a>-->
                <a href={{info}} target="_Blank" ng-show="info.lastIndexOf('.pdf') != '-1'">{{info}}</a>
                <font face="Courier" class="text-danger" ng-show="info.lastIndexOf('.pdf') != '-1'">点击查看或下载</font>
                <div  width="50%" height="50%" ng-show="info.lastIndexOf('.pdf') == '-1'">
                    <img ng-src="{{info}}" ng-modal="info" width="50%" height="50%" >
                </div>
            </div>

            <!--{{imagearr | json}}-->

            <hr>

        </div>


			</div>
		</div>
	</div>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button" ng-click="ok()">OK</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">返回</button>
</div>


